<html>
    <script>
    function show(){
        window.location.href=sentence.value;
    }
    </script>
    
    
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>
    <body>
        中文分词演示系统
        </br>
        <form action="seg" method="post">
            <textarea cols="50" rows="10" id="sentence" name="input_text">输入中文</textarea >
            <br/>
            
            <input type="button" onclick="window.location.href=encodeURI(sentence.value)" value="分词"></input>
        </form>
        分词结果：<br/>
        <textarea cols="50" rows="10" name="output_text">在这里显示分词结果</textarea >
    </body>
</html>